﻿<UserControl x:Class="SLGameEngine.ObjectBase"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" >
    <Canvas x:Name="ParentCanvas" Background="Transparent" >
        <Canvas x:Name="ObjectCanvas">
            <Canvas.Clip>
                <RectangleGeometry x:Name="ObjClip" Rect="0,0,128,128"/>
            </Canvas.Clip>
        </Canvas>
        <Image x:Name="SelectionRect2" Visibility="Collapsed" Source="images/selection.png" ></Image>
        <Rectangle x:Name="CollisionRect" Stroke="Yellow" StrokeThickness="0.3" Visibility="Collapsed"  Width="128" Height="128"></Rectangle>
        <Rectangle x:Name="SelectionRect" Stroke="Red" Canvas.ZIndex="111" StrokeThickness="0.5" Visibility="Collapsed"  Width="128" Height="128"></Rectangle>
        <TextBlock Margin="3" x:Name="AnimationType" Foreground="Yellow"></TextBlock>
    </Canvas>
</UserControl>
    